﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0427
{
    /// <summary>
    ///  保存位置记录模型
    /// </summary>
    public class AddGPS
    {
        /// <summary>
        ///  登录用户id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请输入用户user_id")]//大于0正则表达式
        public int user_id { get; set; }
        /// <summary>
        ///  经度
        /// </summary>
        public decimal gps_x { get; set; }
        /// <summary>
        ///  纬度
        /// </summary>
        public decimal gps_y { get; set; }
        /// <summary>
        ///  省名称
        /// </summary>
        public string province { get; set; }
        /// <summary>
        ///  城市编码
        /// </summary>
        public string cityCode { get; set; }
        /// <summary>
        ///  城市名称
        /// </summary>
        public string city { get; set; }
        /// <summary>
        ///  区名称
        /// </summary>
        public string district { get; set; }
        /// <summary>
        ///  街道地址
        /// </summary>
        public string street { get; set; }
        /// <summary>
        ///  街道名称
        /// </summary>
        public string streetnumber { get; set; }
        /// <summary>
        ///  地址
        /// </summary>
        public string address { get; set; }
    }
}